#include"SeqList.h"
int main()
{
	SeqList sl;
	SeqListInit(&sl);
	SeqListPushBack(&sl, 1);
	SeqListPushBack(&sl, 2);
	SeqListPushBack(&sl, 3);
	SeqListPushBack(&sl, 4);
	SeqListPushBack(&sl, 5);
	SeqListPushBack(&sl, 6);
	SeqListPushBack(&sl, 7);
	SeqListPushBack(&sl, 8);
	SeqListPopBack(&sl);
	SeqListPopBack(&sl);
	SeqListPopBack(&sl);
	SeqListPushFront(&sl, -1);
	SeqListPushFront(&sl, -2);
	SeqListPushFront(&sl, -3);
	SeqListPushFront(&sl, -4);
	SeqListPushFront(&sl, -6);
	SeqListPushFront(&sl, -7);
	SeqListPushFront(&sl, -8);
	SeqListPushFront(&sl, -9);
	SeqListPopFront(&sl);
	SeqListPopFront(&sl);
	SeqListPopFront(&sl);
	SeqListInsert(&sl, 99, 3);
	SeqListInsert(&sl, 999, 4);
	SeqListInsert(&sl, 9999, 5);
	SeqListErase(&sl, 3);
	SeqListErase(&sl, 3);
	SeqListErase(&sl, 3);
	SeqListDestroy(&sl);


	SeqListPrint(&sl);

}